#ifndef TIME_H
#define TIME_H

typedef struct
{
	unsigned char hours;
	unsigned char minutes;
	unsigned char seconds;
	unsigned long totalSeconds;
} Time;

void setTime(Time* t, int offset);
unsigned char setNumber(unsigned char range, int offset);
void waitMs(unsigned long ms);
void updateTime(Time* time);

#endif //TIME_H
